package com.sat.goods.dao;

import com.sat.goods.pojo.Brand;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface BrandMapper extends Mapper<Brand> {

    //SELECT * FROM `tb_brand` WHERE id IN(SELECT brand_id FROM `tb_category_brand` WHERE category_id=76)
    List<Brand> findBrandByCategoryId(Integer categoryid);
}
